package com.hxzy.shop.dto.commodity.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description
 * @Author tu-jia-hao
 * @Data 2022/8/2 15:26
 */
@Data
public class EditClassifiedReq {

    @ApiModelProperty(value = "父分类管理id")
    private Long classifiedManagementId;

    @ApiModelProperty(value = "子分类管理id")
    private Long sonClassifiedManagementId;

    @NotNull
    @ApiModelProperty("分类名称")
    private String classifiedName;

    @ApiModelProperty("修改分类类别 1: 1级分类 2:  2级分类")
    @NotNull
    private Integer isOneOrTwoLevel;

}
